<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			#div1{
				/*内容宽高*/
				width:200px;
				height:200px;
				padding:50px;
				border:1px solid red;
				box-sizing: content-box;
			}
			#div2{
				width:200px;
				height:200px;
				padding:50px;
				border:1px solid blue;
				/*怪异盒模型*/
				box-sizing: border-box;
			}
		</style>
	</head>
	<body>
		<div id="div1">
			1111
		</div>
		<div id="div2">222</div>
	</body>
</html>
